<?php echo $javascript->link('prototype', false); ?>
<div class="meetsStaffs form">
<?php echo $this->Form->create('MeetsStaff');?>
	<fieldset>
		<legend><?php __('Add Meets Staff'); ?></legend>
	<?php
		echo $this->Form->input('meet_id');
                echo $this->Form->input('department_id');
                echo $this->Form->input('staff_id',array('type'=>'select','options' => $staffs,'selected'=>$html->value('Staff.id')));		
                $options = array('url' => 'getStaffs', 'update' => 'MeetsStaffStaffId');
                echo $ajax->observeField('MeetsStaffDepartmentId', $options);
	?>
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <th><?php 
                        echo $form->checkbox('all',array('id'=>'checkall')); 
                        echo 'Staff';
                        ?></th>
                    </tr>                    
                    <tr>
                        <td><?php    ?></td>
                    </tr>
                </table>        
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Meets Staffs', true), array('action' => 'index'));?></li>		
		<li><?php echo $this->Html->link(__('List Meets', true), array('controller' => 'meets', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Meet', true), array('controller' => 'meets', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Staffs', true), array('controller' => 'staffs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Staff', true), array('controller' => 'staffs', 'action' => 'add')); ?> </li>
	</ul>
</div>